<div class="template-container">
    <ng-container *ngIf="flowNodeTemplate">
        <nz-card [nzTitle]="flowNodeTemplate.hideTitle ? '' : flowNodeTemplate.name">
            <div class="component-container">
                <div class="component-wrapper" *ngFor="let comp of flowNodeTemplate.components"
                    [ngClass]="{'column-2': comp.extends.width === 'half', 'column-1': comp.extends.width==='full'}">
                    <ng-container #componentViewContainerRef></ng-container>
                </div>
            </div>
        </nz-card>
    </ng-container>
</div>